#include<node.h>
Node::Node(QString number,QString name,QString gender,QString faculty,QString roomnu,QString classnu)
{
    Number=number;
    Name=name;
    Gender=gender;
    Faculty=faculty;
    ClassNu=classnu;
    RoomNu=roomnu;
}

Node& Node::GetNode()
{
    return *this;
}
void Node::modify(QString number,QString name,QString gender,QString faculty,QString roomnu,QString classnu)
{
    Number=number;
    Name=name;
    Gender=gender;
    Faculty=faculty;
    ClassNu=classnu;
    RoomNu=roomnu;
}
